<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.AuthenticationAgg" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.MainBoundedContext.DTO.AuthenticationAgg" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:11361/TavernAuthenticationService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:11361/TavernAuthenticationService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.Seedwork" />
  <xs:import schemaLocation="http://localhost:11361/TavernAuthenticationService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.AuthenticationAgg" />
  <xs:import schemaLocation="http://localhost:11361/TavernAuthenticationService.svc?xsd=xsd6" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="AccountDTO">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Application.Seedwork" base="q1:DTOBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="AccountRoles" nillable="true" type="tns:ArrayOfAccountRoleDTO" />
          <xs:element minOccurs="0" name="Id" type="ser:guid" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AccountDTO" nillable="true" type="tns:AccountDTO" />
  <xs:complexType name="ArrayOfAccountRoleDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AccountRoleDTO" nillable="true" type="tns:AccountRoleDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAccountRoleDTO" nillable="true" type="tns:ArrayOfAccountRoleDTO" />
  <xs:complexType name="AccountRoleDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="ID" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Permissions" nillable="true" type="tns:ArrayOfPermissionDTO" />
    </xs:sequence>
    <xs:attribute ref="ser:Id" />
    <xs:attribute ref="ser:Ref" />
  </xs:complexType>
  <xs:element name="AccountRoleDTO" nillable="true" type="tns:AccountRoleDTO" />
  <xs:complexType name="ArrayOfPermissionDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PermissionDTO" nillable="true" type="tns:PermissionDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPermissionDTO" nillable="true" type="tns:ArrayOfPermissionDTO" />
  <xs:complexType name="PermissionDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="AccountRoles" nillable="true" type="tns:ArrayOfAccountRoleDTO" />
      <xs:element minOccurs="0" name="Category" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SystemName" nillable="true" type="xs:string" />
    </xs:sequence>
    <xs:attribute ref="ser:Id" />
    <xs:attribute ref="ser:Ref" />
  </xs:complexType>
  <xs:element name="PermissionDTO" nillable="true" type="tns:PermissionDTO" />
  <xs:complexType name="RegistrationRequestDTO">
    <xs:sequence>
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.AuthenticationAgg" minOccurs="0" name="RegisterAccount" nillable="true" type="q2:Account" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RegistrationRequestDTO" nillable="true" type="tns:RegistrationRequestDTO" />
  <xs:complexType name="RegistrationResultDTO">
    <xs:sequence>
      <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="_x003C_Errors_x003E_k__BackingField" nillable="true" type="q3:ArrayOfstring" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RegistrationResultDTO" nillable="true" type="tns:RegistrationResultDTO" />
</xs:schema>